<html>
<body>
<pre>
package lex;

import project3.Node;
import project3.ParserException;


public class Identifier 
    extends Argument
{
//Domain Implementation
//  TokenType type       -- inherited from Token through Argument
//  String    value      -- inherited from Token through Argument
//  int       lineNumber -- inherited from Token through Argument

//Constructors
    <a name="StdConstructor"/>
    public Identifier(String value, int lineNumber)
        throws ParserException 
    {
        super(TokenType.ID, value, lineNumber);
    }

    <a name="CopyConstructor"/>
    public Identifier(Token token)
    {
        super(token);
        assert token instanceof Identifier;
    }

//Queries
    <a name="toString"/>
    public String toString()
    {
        return value;
    }
}
</pre>
</body>
</html>
